Added settings to js