update gitignore.
move script resources to the end of document.
add skeltons of js modules.