Fixed multiple js code issues
Updated to Bootstrap 3.0.2