get warned on bad js