[wip]
fix gulpfile bug
add support for server side scripts
merge