moved around javascript files for increased bootstrap flexibility