[JS] - Added in base plugin template, revised