Added some handlers & removed jquery requirement for href