removed live from js and replaced with on