Added Javascript stuff