Make javascript parameters configuratble