avoid to generate js code when no dalay