removing useless JS errors