fix when no js compiler attribute specified