rake: fix javascript app issue