javaScripts syntax problems - implemented.