added basic js stuff