Updated JS Files to follow standards

Prefaced jQuery objects with "$"

Used .data() instead of .attr("data-")

Chained jQuery methods when appropraite