Javascript Use String Variable As Object Oriented Software Engineering Notes