fixed issues with spaces and tabs on javascript files