moved javascript to javascript/