removing js stuff and general house cleaning