Fixed JS plugin structure for use with CLI/Plugman