Fixed the silly javascript