Create swipehelper.js