gulp: add task to compile JavaScript

require.js should be replaced with Almond.

need to provide info to server /assets/ as static directory.