Removing helper file javascripts (it was redundant) and adding specs for the new functions