fix default javascript argument resulting in an assets compile error