casperjs, makefile, few fixes