Ok did some changes with the styles being pushed through the script, making the pop-up look a little bit better.. some comments added.