Upgraded js libs, freezed jQuery version, fixed errors