Moved javascript to js directory