special characters in function where not processed

in fire fox and maybe other browsers special characters found in java script functions like '&&','>', and '<'. where not being processed back to there actual and were breaking the import.