Changed javascript requires to 'applications' instead of defaults