Fixed missing brace and updated submodule in new.js

The submodule points to an erroneous version of privly-applications.