revise structure of static files

Change-Id: Ic4ff974545dc147bb2dd2028b833ed124887657f
Reviewed-on: http://review.couchbase.org/27963
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>