Some style changes.
Fixed the style of the location setter.
Added content security policy to the set timeout function.