Bug 1028085 - rewrite Makefile of camera app in javascript

I forget we have this feature :-o