JS created and script written