Clean up app js