Moved JS declaration to node rather than info file