Created the plugin js files

This file contains the mains js for this plugin