moduleized

final version with js as modules