major mods ot alignment.js which now fixed many bugs in the app