Create window.data object in PHP for clarity and centralize test threshold
Some JS and CSS lint fixes