clean up js/css, add SPS active var