Added Javascript to support responsible design.