Separated HUD instructions from index.js

@eric79 Please review.