[ALOY-901] fix error when app/alloy.js is deleted