moved javascript to assets folder