javascript basic & mvc