Fixes js compilation script and prepares app for release