optimized javascript, mouseovers and onclicks now working correctly