javascript for fun! to be test.