Changed some JavaScript to my style