adding JS Closure, and CSS position tests