js stuff and more