moved javascript external