Help With Javascript

Alright so I set my sights on changing this resource - Tuner Chip (ESX Compatible) (JavaScript Resource) - to where you had to have the ESX job mechanic in order to use the Tunerchip, but im not too familiar with Javascript so I was wondering if anyone had a clue how to do this?

ok
kjkjhgkkjkj

how is the dowlond