Create objective.js

Initial commit of objective