Fix API base generation in js
Fix API base generation in js

Signed-off-by: Tyler Menezes <f7d0735727e79aacafe181b6fbc9771c871da7ac@gmail.com>

StudentRND/CodeDay,StudentRND/CodeDay,StudentRND/CodeDay,StudentRND/CodeDay