add some additional error checking
change field weight
change filename to .js
create page_wrapper node_presave function to create js/cssfiles and manage updates