Make it more jslint valid: changed "in" to jslint suggestion of comparing against "undefined" (for "ontouchstart", "onorientationchange"); moved "k" var declaracion, line: 157; added first argument for "for" loop, line: 269; removed superfluous else in line: 274
created setUpFlickables function. Moved all code for setting up flickables, form function defined in "for" loop to newely created function.