added dev/prod versions of api js