added touchscreen to main javascript