JSLINT clean up of afl code to allow for one click build to samsung and LG