Add local settings for javascript