clean main app js