Adding some js from dean