Can cocos2d encrypt javascript files during compile?

I extracted the apk and found all the js files are readable. Is it possible to encrypt during compile? Why does cocos2dx keeps the js after compile? Can’t it be deleted?