Refactored some JavaScript interfacing functions in Application
Fixed namespace in Util.hpp