removed extra js, functions and settings