Javascript Split String Into Two Variables