Add a missing javascript build directory

Review 870 by @wmrowan
Closes #1343