app js corrected