start working on plugin ...

you can use this js as a basis for future plugin creation