added jscs, reformatted code
remove static path prefix for static files, so app can be opened without a server