No one can teach you how to hack!
Hacking is a mindset.
You want to learn to program- a good hacker will teach themselves. Javascript is a great language, afterwords i'd learn python or php. For me they were easier then jumping into something with an MVC framework (like ruby or Java)-- but ruby (and Rails) are awesome next steps. Just read through documentation's online. It's fun and feels great to teach yourself!