Added my own solution

My solution using pure JavaScript, no jQuery
Merge pull request #222 from Emnalyeriar/patch-1

Added my own solution