finished javascript feature and shit