Use deferer for JS