updating fab scripts
cleaning up js build script
adding test function on staging