put options in js file (dynamic)