Fix some issues according to small resolutions
Compress js file