major changes.
*-x in makefile: no head/foot, XT and main js only