A simple app wrapper for javascript code