JavaScript fixes for mootools, line wrap fixes