Fix error in JSON
Refine script
Change .on event to .bind
Update script with correct naming convention