moved out inventory, added some basic js objects