preliminary finishing up of database
add javascript at bottom of layout