Feature proofing js with .on syntax, styling change for meta section.

Signed-off-by: Zane M. Kolnik <zanematthew@gmail.com>
Combined additional functions into one and using param for $size

Signed-off-by: Zane M. Kolnik <zanematthew@gmail.com>